package com.example.backend.mapper;

import com.example.backend.entity.StorageOut;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface StorageOutMapper {
    int insert(StorageOut storageOut);
    StorageOut selectById(Long id);
    List<StorageOut> selectAll();
    int update(StorageOut storageOut);
    int deleteById(@Param("id") Long id);
    List<StorageOut> selectByOrderNumber(String orderNumber);
    Double sumOutWeightByInId(Long inId);
    List<StorageOut> selectByPortId(Long portId);
    int deleteAll();
} 